home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trading on the Edge
/
Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin
/
pc
/
mac_file
/
vendor_d
/
neuralwa
/
nw2v50
/
somnomap.nnc
< prev
next >
Wrap
Text File
|
1993-08-23
|
2KB
|
53 lines
csv3.8 ! Control Strategy Version 3.8
!************************************************************************
!* *
!* 2D Self-Organizing Map with no mapping *
!* *
!* Assumes: Input Layer *
!* 2-D Kohonen Layer *
!* Optional non-learning post-processing layers *
!* *
!************************************************************************
!
! *** Recall ***
!
!MASK label op-code operands comment
L_saR_sa trace aux3 ! set trace option to aux3
L_saR_sa cset recall,1 ! recall count
!
L_saR_sa lset in ! input layer
L___R_sa io read ! get input data
L_saR___ io lrnin ! get input data
L___R_sa math sum|rnoise|tran|output
L_saR___ math sum|lnoise|tran|output
L_saR_sa lset cur,1 ! next layer, 2D Kohonen layer
L_saR___ math sum|output|fire ! get min euclid dist. No transfer
! function. Sum deals with this
! and adds bias
L___R_sa math sum|tran|output|fire ! get min euclid dist
L_saR___ math learn|fire ! update wts & freq est.
! Now do post-processing layers if any exist
L_saR_sa lcmp out
L_saR_sa bge @rslt ! No layers after Kohonen
L_saR_sa @rloop lset cur,1 ! next layer
L_saR_sa math sum|fire
L_saR_sa math tran|output|e=0
L_saR_sa lcmp out ! at output layer ?
L_saR_sa blt @rloop ! loop till at output layer
L___R_sa @rslt io write ! write out result
L_saR___ io lrnrslt ! result of feed-forward
LisaRisa @exit trace 0 ! turn off any trace function